<style>
.syscolor {color:{{main.syscolor}};}
.jinyun-primary {
    border: 1px solid {{main.syscolor}};
    background-color: {{main.syscolor}};
}
.head_box {
    background-color: {{main.syscolor}};
}
.logo {
    background: {{main.hovercolor}};
}
.oldmenu-box .wb-nav ul li.active a {
    color:{{main.syscolor}};
}
.oldhead_box .top_nav .top_nav_item.active {
	border-bottom:3px solid {{main.hovercolor}}
}
.oldhead_box .top_nav .top_nav_item.active:hover {
	border-bottom:3px solid {{main.hovercolor}}
}
.oldhead_box .top_nav .top_nav_item:hover {
	border-bottom:3px solid {{main.hovercolor}};
	background-color:{{main.hovercolor}}
}
.oldmenu-box .wb-nav ul li.active {
    border-left: 3px solid {{main.hovercolor}};
}
.oldmenu-box .wb-nav ul li.active a {
    color: {{main.hovercolor}};
}
.oldmenu-box .wb-nav ul li:hover a {
	color:{{main.hovercolor}};
}
.app-status-num .productName,.app-status-num .productVip,.app-open .app-status-num {
	color:{{main.syscolor}};
}
.today {
	color:{{main.syscolor}}
}
.min-today {
	color:{{main.syscolor}}
}
#page-loading .sk-spinner-three-bounce div{background-color: {{main.syscolor}}}
.sk-spinner-three-bounce div {
	background-color: {{main.syscolor}};
}
.app-open .manage-btn {
	border:1px solid {{main.syscolor}};
	background-color: {{main.syscolor}};
}
.jy-btn-default{
	border: 1px solid {{main.syscolor}};
}
.switchOn,.switchOn:before {
	background:{{main.syscolor}}!important
}
.btn-default {
	background-color:{{main.syscolor}};
	border-color:{{main.syscolor}}
}
.label-primary {
	background-color:{{main.syscolor}}
}
.btn-primary {
	background-color:{{main.syscolor}};
	border-color:{{main.syscolor}}
}
.btn-primary.focus,.btn-primary:focus {
	background-color:{{main.hovercolor}};
	border-color:{{main.hovercolor}}
}
.btn-primary:hover {
	background-color:{{main.hovercolor}};
	border-color:{{main.hovercolor}}
}
.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary {
	background-color:{{main.hovercolor}};
	border-color:{{main.hovercolor}}
}
.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover {
	background-color:{{main.hovercolor}};
	border-color:{{main.hovercolor}}
}
.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover {
	background-color:{{main.hovercolor}};
	border-color:{{main.hovercolor}}
}

.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover {
	background-color:{{main.syscolor}};
	border-color:{{main.syscolor}}
}
.nav-tabs>li>a:hover {
	border-bottom:2px solid {{main.syscolor}};
}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover {
	color:{{main.syscolor}};
	border-bottom:2px solid {{main.syscolor}};
}
input[type=checkbox]:checked,input[type=radio]:checked {
    border-color: {{main.syscolor}};
    background: {{main.syscolor}};
}
input[type=radio]:checked{
    border:2px solid {{main.syscolor}};
	background: #fff;
}
input[type=radio]:checked:before {
    background: {{main.syscolor}};
}
.pagination>li>a,.pagination>li>span {
	color:{{main.syscolor}};
}
.panel-heading>.dropdown .dropdown-toggle {
	color:{{main.syscolor || '#18bc9c'}}
}

/*----------------*/
.oldhead_box {
	position:relative;
	height:50px;
	background-color:#18bc9c;
}
.oldhead_box a {
	color:#fff;
	cursor:pointer
}
.oldhead_box a:hover {
	text-decoration:none
}
.oldhead_box .header_main {
	display:inline-block
}
.oldhead_box .header_sub_title,.oldhead_box .header_title {
	display:inline-block;
	color:#fff;
	font-size:18px;
	font-weight:400;
	height:50px;
	line-height:50px
}
.oldhead_box .header_title:after {
	content:"";
	display:inline-block;
	width:20px;
	height:14px;
	border-right:1px solid #353535
}
.oldhead_box .header_sub_title {
	padding:0 20px
}
.oldhead_box .header_ctrls, .head-c .header_ctrls{
	display:inline-block;
	position:absolute;
	right:0px;
	font-size: 13px;
}
.oldhead_box .header_left {
	display:inline-block;
	position:absolute;
	left:218px;
	font-size: 13px;
}
.oldhead_box .top_nav , .head-c .top_nav{
	display:inline-block;
	margin:0
}
.top_nav_right {
	border-left: 1px solid rgba(0,0,0,0.1);
}
.oldhead_box .top_nav .top_nav_item {
	display:inline-block;
	box-sizing:border-box;
	min-width:62px;
	height:50px;
}
.oldhead_box .top_nav .top_nav_item.active {
	border-bottom:3px solid #15a589
}
.oldhead_box .top_nav .top_nav_item.active:hover {
	border-bottom:3px solid #15a589
}
.oldhead_box .top_nav .top_nav_item:hover {
	border-bottom:3px solid #15a589;
}
.oldhead_box .top_nav a {
	height:50px;
	padding:0 18px;
	line-height:50px;
}
.oldhead_box .top_notice_box {
	display:inline-block;
	padding:0 30px
}
.oldhead_box .top_user_box {
	display:inline-block
}
.oldhead_box .top_nav .dropdown-menu{
	right:0;
	left:auto
}
.oldhead_box .top_nav .dropdown-menu li{
	padding-left:20px;padding-right:20px;
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
	color:#262626;
	text-decoration:none;
	background-color:#fff
}
.oldhead_box .top_nav .dropdown-menu a {
	height:25px;
	line-height:25px;
	padding:0 10px
}
.oldhead_box .top_nav .msg .wi-bell {
	position:relative
}
.oldhead_box .top_nav .msg .badge {
	position:absolute;
	color:#fff;
	background-color:#ff0030;
	right:-8px;
	top:5px
}
.oldhead_box .top_nav .msg .dropdown-menu {
	width:300px;
	height:500px;
	overflow:hidden;
	color:#4c4c4c;
	padding:0
}
.oldhead_box .top_nav .msg .top {
	padding:0 10px;
	line-height:50px;
	border-bottom:1px solid #e7e7eb
}
.oldhead_box .top_nav .msg .top a {
	line-height:50px;
	color:#428bca
}
.oldhead_box .top_nav .msg-list-container {
	padding:0 10px;
	height:437px;
	overflow-y:auto
}
.oldhead_box .top_nav .msg .item {
	font-size:12px;
	padding:10px 0
}
.oldhead_box .top_nav .msg .item .info {
	color:#999;
	margin-bottom:10px
}
.oldhead_box .top_nav .msg .item+.item {
	border-top:1px solid #e7e7eb
}
.head {
	position:relative;
	z-index:10
}
.panel-content{
	margin-bottom:0px
}
.footer {
	padding:24px 0;
	background-color:#fff;
}
.footer .friend-link a {
	display:inline-block;
	padding:0 15px
}
.oldhead_box h1 {
	margin:0
}
.logo {
	float:left;
	width:218px;
	height:50px;
	background:#15a589;
}
.logo a {
	display:block;
	padding:4px 10px;
}
.ng-logo {
	float:left;
	padding-top:6px;
	padding-left:10px;
}
.ng-logo img {
	max-height:40px;
	max-width:180px;
}
.oldmain-box {position: relative;}
.oldmain-box .left-box {
	width:218px;
	background-color:#373d41;
	padding-bottom:38px;
	min-height:100%;
	overflow:hidden!important
}
.oldmain-box .right-box {
	width:100%;
	background:#fff;
	width: calc(100% - 218px);
	padding:0px 16px 28px 16px;
}
.right-content>.user-head-info {
	margin-top:30px
}
.oldmain-box .right-box .nav.nav-tabs {
	margin-bottom:13px;
	/*margin-left:-12px;*/
}
.oldmain-box .right-box>.jinyun-page-title {
	display:none
}
.oldmain-box .right-box .jinyun-page-tab:empty {
	display:none
}
.oldmain-box .right-box .sub-nav-box{
	background: #f1f4f6;
	margin-left:-16px;
	margin-right:-16px;
}
.oldmain-box .right-box .sub-nav-box>.panel-heading {
	line-height:25px;
	padding:10px 10px;
	/*margin-left:-15px;*/
	border-radius:0
}
.pull-right {color:#999}
/*左侧菜单*/
.left-menu {
	padding-top:6px;
}
.setting {
	line-height:20px;
	padding-top:8px;
	padding-right:15px;
}
.row.left-menu {
	padding-top:6px;
	*font-size:0
}
.row.oldmenu-box {
	top:105px
}
.oldmenu-box {
	padding-top:2px;
	z-index:1;
	color:#aeb9c2;
}
.oldmenu-box a{
	color:#aeb9c2;
}
.oldmenu-box .nav-top{
	height: 38px;
    line-height: 38px;
	padding-left:10px;
	/*margin-bottom:10px;*/
	background-color:#4A5064;
    cursor: pointer;
    position: relative;;
}
.oldmenu-box .nav-top-c{
	height: 38px;
    line-height: 38px;
	padding-left:9px;
    cursor: pointer;
    position: relative;;
}
.oldmenu-box .nav-top:hover a {
	color:#fff;
}
.oldmenu-box .nav-top-c:hover a {
	color:#fff;
}
.oldmenu-box .wb-nav ul li {
	padding-left:32px;
	overflow:hidden; 
    cursor: pointer;
    position: relative;;
}
.oldmenu-box .wb-nav ul li:hover {
    background: #2c3b41;
}
.oldmenu-box .wb-nav ul li:hover a {
	color:#18bc9c;
}
.oldmenu-box .wb-nav ul li a {
    padding:12px 5px;
    display: inline-block;
	width:100%;
}

.oldmenu-box .wb-nav ul li.active {
	background: #2c3b41;
    border-left: 3px solid #18bc9c;

}
.oldmenu-box .wb-nav ul li.active:before {
	content: "";
	position: absolute;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    border-right:8px solid #fff;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
}
.oldmenu-box .wb-nav ul li.active a {
    color:#18bc9c;
	width:100%;
}
</style>
	<div class="oldhead_box navbar-default" >
			<h1 class="logo">
			<a href="javascript:;" title="返回欢迎界面">
				<div ng-click="access_json('core/account.welcome/')">
					<img ng-src="{{tomedia(main.mglogo,true)}}" class="pull-left" height="42px">
				</div>
			</a>
			</h1>
			<div class="header_left">
					<ul class="top_nav" >
						<li class="top_nav_item" ng-repeat="menu in framess[current_menu]" id="top_nav_item_{{$index}}" ng-class="{'active':menu==frames}" ng-click="active(menu);access_json(menu.url)"><a href="javascript:;"> {{check_show_lang(menu.title)}}</a></li>
					</ul>
			</div>
			<div class="header_ctrls">
				<ul class="top_nav">
						<li class="top_nav_item" ng-if="current_menu=='core'" ng-repeat="rm in main.top_right_menu" ng-class="{'active':rm==frames}" ng-click="active(rm);access_json(rm.url)"><a href="javascript:;" >{{check_show_lang(rm.title,rm.en_title)}}</a></li>
						<li class="top_nav_item" ng-if="main.istakeover !=1 && main.isfounder && current_menu=='core'" ng-click="access_json('core/account.workerline/mylist/')"><a href="javascript:;" target="_blank">{{check_show_lang('工单','The worker')}}</a></li>
						<li class="top_nav_item" ng-if="main.istakeover !=1 && main.isfounder && current_menu=='core'" ng-click="post_json('core/cloud.store/')"><a href="javascript:;" target="_blank">{{check_show_lang('应用市场','App Sore')}}</a></li>
						<li class="top_nav_item" ng-if="config('show_index')" ng-click="access_json(main.homewelcomeaction)"><a href="javascript:;" target="_blank">{{check_show_lang('首页_Home')}}</a></li>
						<li class="top_nav_item">
							<a class="jylabel jylabel-info-0" style="padding: 0 10px;" href="javascript:;" ng-show="main.show_lang!='en'" ng-click="set_lang('en')">English</a>
							<a class="jylabel jylabel-info-0" style="padding: 0 10px;" href="javascript:;" ng-show="main.show_lang=='en'" ng-click="set_lang('ch')">简体中文</a>
						</li>
						<li class="dropdown top_nav_item">
							<a href="javascript:;" class="dropdown-toggle" onclick="$(this).next().toggle()"><i class="fa fa-user fa-fw"></i>{{username}} <i class="fa fa-angle-down"></i></a>
							<ul class="dropdown-menu" ng-if="config('usertype')>2">
								<li><a href="javascript:;" ng-click="access_json('core/account.user/')" style="color:#808080;"><i class="fa fa-user fa-fw"></i> {{check_show_lang('我的账号','my info')}}</a></li>
								<li class="divider"></li>
								<li ng-click="access_json(main.welcomeaction)"><a href="javascript:;" clsss="syscolor" ><i class="fa fa-mail-reply"></i> {{check_show_lang('返回系统','Go sys')}}</a></li>
							</ul>
						</li>
						<li class="dropdown msg top_nav_item" style="min-width:38px" ng-if="main.isfounder">
							<a href="javascript:;" class="dropdown-toggle" style="padding:0;" onclick="$(this).next().toggle()"><i class="fa fa-bell" style="padding:0 18px;"><span class="badge" ng-if="sysnotices.length>0">{{sysnotices.length}}</span></i></a>
							<div class="dropdown-menu">
								<div class="clearfix top">{{check_show_lang('消息_Message')}}
									<a href="javascript:;" class="pull-right" ng-click="access_json('core/system.message/noticelist/')">{{check_show_lang('查看更多_Look More')}}</a>
									<a href="javascript:;" class="pull-right" style="margin-right: 5px" ng-click="upnotice();">{{check_show_lang('全部已读_Is read')}}</a>
								</div>
								<div class="msg-list-container">
									<div class="msg-list">
										<div class="item" ng-repeat="log in sysnotices">
											<div class="info clearifx">
												<div class="pull-right date">{{date(log.createtime)}}</div>{{check_show_lang('来自','From')}} <span>{{check_show_lang('系统消息_System Message')}}</span>
											</div>
											<div class="msg-content">
												<a href="{{log.url}}" style="color:#333">{{log.msg}}</a>
											</div>
										</div>
									</div>
								</div>
							</div>
						</li>
						<li class="top_nav_item top_nav_right" ng-click="post_json({'plugin':'core','action':'user.logout','message':'确定退出吗？'})"><a href="javascript:;" style="padding:0 25px;"><i class="fa fa-power-off"></i></a></li>
				</ul>
			</div>
	</div>

<div class="oldmain-box flex" style="min-height: 100%;">
	<div class="left-box" id="left_body">
			<div class="oldmenu-box">
				<div class="menu search-input">
					<i class="fa fa-search" style="margin-top:1px;margin-left:5px"></i>
					<input class="search" ng-model="main.find_keyword" placeholder="输入菜单名称搜索" style="height:35px">
				</div>
				<!--系统菜单 -->
				<div  ng-if="frames.child" class="wb-nav" ng-repeat="(fr,frame) in frames.child"  name="menu">
					<div class="nav-top" ng-click="toogle(frame,'show')">
						<a class="no-collapse"><i class="fa {{frame.fa || 'fa-list'}}" style="margin-right: 8px;"></i>{{check_show_lang(frame.title)}}<i class="fa fa-angle-down pull-right setting"></i></a>
					</div>
					<ul ng-if="frame.child" class="in" ng-show="!frame.show" style="margin-bottom:0">
						<li class="nav-li" ng-repeat="(li,link) in frame.child" ng-show="!main.find_keyword || link.title.indexOf(main.find_keyword)>=0" ng-class="{'active':show_active(link)}" data-title="{{link.title}}">
							<a  ng-click="access_menu(link)" id="left_menu_{{fr}}_{{li}}" href="javascript:;">{{check_show_lang(link.title)}}</a>
						</li>
					</ul>
				</div>
			</div>
	</div>	
	<div class="right-box">
				<div class="sub-nav-box jinyun-margin-bottom">
					<div class="panel-heading jinyun-text-top" ng-show="page.plugin=='core'">
						<img class="avatar img-circle" ng-src="{{tomedia(main.account.logo) || '../core/resource/images/gw-user.png'}}" >
						<span class="text-uppercase">{{main.account.title}}</span>
						<span class="jinyun-label jinyun-primary"><a href="" ng-click="access_json('core/wechat.list/')">{{check_show_lang('公众号_Wechat')}}</a></span>
						<span class="jinyun-label jinyun-primary"><a href="" ng-click="access_json('core/wxapp.list/get/type=8')">{{check_show_lang('小程序_Wxapp')}}</a></span>
						<span class="jinyun-label jinyun-primary"><a href="" ng-click="access_json('core/website.mobile_web/')">{{check_show_lang('微官网_Mobile')}}</a></span>
						<span class="jinyun-label jinyun-primary"><a href="" ng-click="access_json('core/website.pc_web/')">{{check_show_lang('PC官网_PC')}}</a></span>
						<span class="jinyun-label jinyun-primary"><a href="" ng-click="access_json('core/app.list/')">APP</a></span>
						<span class="pull-right color-default" style="margin-right: 2px;" ng-click="access_json('core/account.welcome/')">
							<a href="javascript:;" class="syscolor" title="回到欢迎界面" ><i class="fa fa-exchange color-default"></i> {{check_show_lang('返回系统_Welcome')}}</a>
						</span>
						<span class="pull-right" style="margin-right: 13px;">
							<a ng-if="main.istakeover !=1" href="./index.php?plugin=core&action=article.show&nosession=1" target="_blank"><i class="fa fa-file-code-o"></i> {{check_show_lang('使用手册','The manual')}}</a>
						</span>
						<span class="pull-right" ng-if="menu_tree" ng-repeat="t in menu_tree" ng-click="menu_tree.splice($index,5);access_json(t);" >
							<a href="javascript:;">{{t.title}}</a>
						</span>
						<span class="pull-right" style="margin-right: 13px;" ng-click="to_quick()">
							<a href="javascript:;" title="将本功能加入快捷操作列表" ><i class="fa fa-plus-square-o"></i> {{check_show_lang('加入快捷操作_ADD shortcuts')}}</a>
						</span>
						<span class="pull-right" style="margin-right: 13px;" ng-click="goback()">
							<a href="javascript:;" title="将本功能加入快捷操作列表" ><i class="fa fa-backward"></i> {{check_show_lang('返回上一页','Go back')}}</a> 
						</span>
					</div>
					<div class="text-left panel-heading" ng-show="page.plugin!='core'">
						<img class="avatar img-circle" ng-src="{{plugin_icon}}" class="head-logo" onerror="this.src='../core/resource/images/gw-plus.png'">
						<span class="font-lg">{{plugin_title}}</span>
						<span class="dropdown" ng-repeat="item in main.top_plugin_menu" >
							<a href="javascript:;" class="jylabel jylabel-primary" style="padding:2px 5px" ng-click="main.openplugin_menu($index)">{{item.title}} <i class="fa fa-angle-down"></i></a>
							<ul class="dropdown-menu" style="display:block" ng-show="main.openplugin_menuid===$index">
								<li ng-repeat="iv in item.child"><a href="javascript:;" ng-click="access_json(iv.url);main.openplugin_menuid=-1" style="color:#808080;">{{iv.title}}</a></li>
							</ul>
						</span>
						<span class="label label-primary" ng-if="menu_tree" ng-repeat="t in menu_tree" ng-click="menu_tree.splice($index,5);access_json(t);" >
							<a href="javascript:;">{{t.title}}</a>
						</span>
						<span id="gowelcome" class="pull-right text-success" style="margin-right: 2px;" ng-click="access_json('core/account.welcome/')">
							<a href="javascript:;" class="syscolor" title="回到欢迎界面" ><i class="fa fa-exchange color-default"></i> {{check_show_lang('返回系统','Welcome')}}</a>
						</span>
						<span class="pull-right" style="margin-right: 20px;">
							<a ng-if="main.istakeover !=1" href="./index.php?plugin=core&action=article.show&nosession=1" target="_blank"><i class="fa fa-file-code-o"></i> {{check_show_lang('使用手册','The manual')}}</a>
						</span>
						<span class="pull-right" style="margin-right: 13px;" ng-click="to_quick()">
							<a href="javascript:;" title="将本功能加入快捷操作列表" ><i class="fa fa-plus-square-o"></i> {{check_show_lang('加入快捷操作_ADD shortcuts')}}</a>
						</span>
						<span class="pull-right" style="margin-right: 13px;" ng-click="goback()">
							<a href="javascript:;" title="将本功能加入快捷操作列表" ><i class="fa fa-backward"></i> {{check_show_lang('返回上一页','Go back')}}</a> 
						</span>
					</div>
				</div>
				<!--replace_start-->
				<div>
				<div id="mainbody-z" style="display:none;z-index:100;width:100%;height:100%;position:absolute;background-color:#ffffff"></div>
				<div id="mainbody">
					<div ng-show="!use_template"  ng-include="main.page" onload="start()"></div>
					<div ng-show="use_template" style="margin-top:-10px;">
						<ul class="nav nav-tabs" ng-if="main.tabs && main.tabs.length>0">
							<li ng-repeat="tab in main.tabs" ng-class="{'active':show_active(tab)}"><a href="javascript:;" ng-click="access_json(tab)">{{check_show_lang(tab.title)}}</a></li>
						</ul>
						<div id="base_template_html"></div>
					</div>
				</div>
				</div>
				<!--replace_start-->
	</div>
</div>
<script type="text/javascript" src="../core/resource/components/ueditor/third-party/zeroclipboard/ZeroClipboard.js"></script>
<script type="text/javascript" src="../core/resource/components/ueditor/ueditor.config.js?v=20191210"></script>
<script type="text/javascript" src="../core/resource/components/ueditor/ueditor.all.min.js?v=20191212"></script>
<script type="text/javascript" src="../core/resource/components/ueditor/ueditor.parse.js?v=20191208"></script>
<script type="text/javascript" src="../core/resource/components/ueditor/lang/zh-cn/zh-cn.js?v=20190608"></script>
<script type="text/javascript" src="../core/resource/components/ace/ace.js"></script>
<script>
//点击顶部菜单，显示左侧菜单
	scope.active=function(menu){
		if(menu.child && menu.child!=[]){
			scope.frames=menu;
		}
	}
	//高亮当前按钮
	
	//加入快捷方式
	scope.to_quick=function(){
		if(scope.page.action=='account.welcome' && scope.page.plugin=='core'){
			scope.message('欢迎界面不支持加入快捷方式！','warning');
			return false;
		}
		//
		
		var post={'data':scope.page,'op':'add_quick','plugin':'core','action':'account.welcome'};
		post.callback=function(res){
			if(res.type=='success'){
				scope.getmodal('account.welcome','set_quick','id='+res.id,'','core');
			}else{
				scope.message('加入快捷方式失败，请联系管理员！');
			}
		}
		scope.post_json(post);
	}
	scope.access_menu=function(menu){
		if(menu.url){
			scope.access_json(menu.url);
		}else{
			scope.access_json(menu);
		}
	}
scope.getnotices=function(){
	scope.sysnotices =[];
	scope.get_data(
		function(data){
				if(data.error !=1){
						scope.sysnotices=data.list
						//console.log(scope.sysnotices);
						scope.$evalAsync();
				}else{
						console.log('error!');
				};
		},'','core/system.message/getsysnotices/'
		
	);
}
if(scope.main.isfounder){
	scope.getnotices();
}

scope.upnotice=function(){
	var params={
			plugin:'core',
			action:'system.message',
			op:'upnotice',
			callback:function(res){
				if(res.error!=1){
					scope.sysnotices =[];
					scope.$evalAsync();
					scope.message('更新成功！');
				}
			}
		}
	scope.post_json(params);
}
scope.main.openplugin_menu=function(e){
	if(scope.main.openplugin_menuid===e){
		scope.main.openplugin_menuid=false;
	}else{
		scope.main.openplugin_menuid=e;
	}
	scope.$evalAsync();
}
</script>
<div ng-include="sys_html('common/kefu',true)"></div>